package com.stylefeng.guns.modular.system.dao;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.stylefeng.guns.core.datascope.DataScope;
import com.stylefeng.guns.modular.system.model.ManagerCustomer;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author LiuXin
 * @since 2018-09-12
 */
@Repository
public interface ManagerCustomerMapper extends BaseMapper<ManagerCustomer> {

    /**
     * 增加数据范围
     * @param dataScope 数据范围
     * @param managerCustomer 客户
     * @return 列表
     */
    List<ManagerCustomer> listDataScope(DataScope dataScope, @Param("mc") ManagerCustomer managerCustomer);


}
